<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>流程步骤</title>
  <style>
    body {
      padding: 10px;
    }
    .arrow {
      position: relative;
      display: inline-block;
      padding: 6px 16px 6px 30px;
      margin-right: -4px;
      text-align: center;
      white-space: nowrap;
      vertical-align: middle;
      background-color: #ddd;
      cursor: pointer;
      user-select: none;
      color: #666;
    }
    .arrow.active {
      background-color: #5bc0de;
      color: #fff; 
    }
    .arrow::before, .arrow::after {
      content: '';
      position: absolute;
      top: 5px;
      display: inline-block;
      width: 23.434524px;
      height: 23.434524px;
      transform: rotate(45deg);
      background-color: inherit;
    }
    .arrow::before {
      background-color: #fff !important;
      left: -12px;
    }
    .arrow::after {
      right: -12px;
      z-index: 3;
    }

   
  </style>
</head>
<body>
  <h1>通过旋转的元素</h1>
  <div class="arrow">已处理</div>  
  <div class="arrow active">处理中</div>  
  <div class="arrow">未处理</div>  
</body>
</html>